#ifndef IFU_MAP_H
#define IFU_MAP_H 1

#include <string>

using namespace std;

class IFUMap {

 public:
  IFUMap(const string &filename);
  ~IFUMap();

  int getNFibers();
  int getNBlocks();
  int getFibBlock(int block);

  const string &getFilename();

  void dump();

 private:
  int nFibers;
  int nBlocks;
  int *fibBlock;
  string filename;

  void read();
};

#endif /* !IFU_MAP_H */
